<script setup lang="ts">
import { ref } from 'vue';
 const active = ref('/home');
</script>
<template>
  <van-tabbar v-model="active" route :placeholder="true" :safe-area-inset-bottom="true">
  <van-tabbar-item icon="home-o"  to="/">首页</van-tabbar-item>
  <van-tabbar-item icon="guide-o" to="/study">正在学习</van-tabbar-item>
  <van-tabbar-item icon="friends-o"  to="/user">我的</van-tabbar-item>
</van-tabbar>
</template>

<style scoped>

</style>